Don't call set_application() in gtk_window_realize
authorRyan Lortie <desrt@desrt.ca>
Tue, 17 Jan 2012 20:38:07 +0000 (15:38 -0500)
committerRyan Lortie <desrt@desrt.ca>
Wed, 18 Jan 2012 19:53:08 +0000 (14:53 -0500)
This call has no effect and with the newly-added restrictions it's
violating the set-application-after-realized rule.

https://bugzilla.gnome.org/show_bug.cgi?id=668203

gtk/gtkwindow.c

index 93eb4a760b975137d7263095f7e79aadb9cc8840..0204252be76d7cb7270c2fce3aa20ba2aa034f5d 100644 (file)
@@ -5330,8 +5330,6 @@ gtk_window_realize (GtkWidget *widget)
     }
 #endif
 
-  gtk_window_set_application (window, gtk_window_get_application (window));
-
   /* Icons */
   gtk_window_realize_icon (window);